/**
 * Copyright © 2020 易久批信息技术有限公司. All rights reserved.
 */
package com.dysm.observer;

/**
 *
 * @author xiay
 * @since 2020/12/17 2:01 下午
 */
public class SubjectImpl extends Subject {

    private int state;

    public int getState() {
        return this.state;
    }

    public void setState(int state) {
        this.state = state;
        notifyAllObserver();
    }
}
